﻿using System;
using System.Linq;
using Aocsoft.Infrastructure.DomainBase;
using Aocsoft.Infrastructure.RepositoryFramework;
using NHibernate;

namespace Aocsoft.Infrastructure.Repository.NHProvider
{
    public interface INHRepository<T> : IRepository<T, Guid>
       where T : EntityBase
    {
        ISession RepositContext { get; }
        IQueryable<T> GetBaseQuery();
        T Load(Guid key);
    }
}
